<template>
  <div class="dashboard-container">
 <img  src="../../../public/logo_dag.png" style="width:240px;height:64px" >
    <div class="dashboard-text">{{name }}，欢迎进入大橘邻里</div>
    
  </div>
</template>

<script>

export default {
  name: 'Home',
  data(){
    return{
      name:localStorage.loginName 
    }
  },
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size:24px;
    line-height: 46px;
    margin-top: 30px;
  }
}
.dashboard-container{
      position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 500px;
    height: 200px;
    text-align: center;
}
</style>
